#pragma once

#include <QObject>
#include <QNetworkAccessManager>
#include <QUrl>
#include <QNetworkRequest>

class HttpClient : public QObject
{
	Q_OBJECT

public:
	HttpClient(QObject *parent);
	~HttpClient();

	 QNetworkReply* get(QNetworkRequest url);
	 QNetworkReply* post(QNetworkRequest url , QByteArray& data);

private:

	 QNetworkAccessManager qnam;

	


};
